-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix lockfile-overrides-bug #16235
fix lockfile-overrides-bug #16235
Conversation
b5d8564
to
bdafa80
Compare
@@ -518,16 +519,6 @@ def build_require(self, ref, raise_if_duplicated=True, package_id_mode=None, vis | |||
raise ConanException("Duplicated requirement: {}".format(ref)) | |||
self._requires[req] = req | |||
|
|||
def override(self, ref): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was dead code.
@@ -160,7 +160,7 @@ def add(self, node): | |||
if dep.dst.binary != BINARY_SKIP: | |||
if dep.dst.ref == node.ref: # If the node is itself, then it is internal dep | |||
install_pkg_ref.depends.append(dep.dst.pref.package_id) | |||
else: | |||
elif dep.dst.ref not in self.depends: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a not related small bug fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving after being shown around the code with @memsharded
Changelog: Bugfix: Solve bug with
overrides
fromlockfiles
in case of diamond structures.Docs: Omit
Close #16116